import {CHANGEVAL} from '../constants/searchType'
const initState = {
    searchStr:''
}
export default (state=initState,action) => {
    switch(action.type){
        case CHANGEVAL:
            return {
                ...state,
                searchStr:action.searchStr
            }
        default:
            return state;
    }
}